package cn.tedu._11aop.aop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCaculator {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(
                "cn.tedu._11aop"
        );
        CaculatorImpl bean = context.getBean(CaculatorImpl.class);
        bean.add(20,10);
    }
}
